import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'login',
      component: () => import('@/views/login/index')
    },
    {
      path: '/user',
      name: 'user',
      component: () => import('@/views/user/index')
    },
    {
      path: '/file',
      name: 'file',
      component: () => import('@/views/file/index')
    },
    {
      path: '/organization',
      name: 'organization',
      component: () => import('@/views/organization/index')
    }
  ]
})
